<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: cyw43_driver</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.0.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__cyw43__driver.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#files">Files</a> &#124;
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle"><div class="title">cyw43_driver<div class="ingroups"><a class="el" href="group__networking.html">Networking Libraries</a> &raquo; <a class="el" href="group__pico__cyw43__arch.html">pico_cyw43_arch</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Driver used for Pico W wireless.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="groups" name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group__cyw43__ll"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__ll.html">cyw43_ll</a></td></tr>
<tr class="memdesc:group__cyw43__ll"><td class="mdescLeft">&#160;</td><td class="mdescRight">Low Level CYW43 driver interface. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="files" name="files"></a>
Files</h2></td></tr>
<tr class="memitem:cyw43_8h"><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cyw43_8h.html">cyw43.h</a></td></tr>
<tr class="memdesc:cyw43_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight">CYW43 driver interface. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:cyw43__country_8h"><td class="memItemLeft" align="right" valign="top">file &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cyw43__country_8h.html">cyw43_country.h</a></td></tr>
<tr class="memdesc:cyw43__country_8h"><td class="mdescLeft">&#160;</td><td class="mdescRight">CYW43 country codes. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct__cyw43__t.html">_cyw43_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga03979857427e08a04731a513a6912c67"><td class="memItemLeft" align="right" valign="top"><a id="ga03979857427e08a04731a513a6912c67" name="ga03979857427e08a04731a513a6912c67"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_DEFAULT_PM</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909">cyw43_pm_value</a>(<a class="el" href="group__cyw43__ll.html#ga78a7c3517845b3cd089a39140ddc07c0">CYW43_PM2_POWERSAVE_MODE</a>, 200, 1, 1, 10)</td></tr>
<tr class="memdesc:ga03979857427e08a04731a513a6912c67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default power management mode. <br /></td></tr>
<tr class="separator:ga03979857427e08a04731a513a6912c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa6c16b832e78bf180ee5bf2e1e368a80"><td class="memItemLeft" align="right" valign="top"><a id="gaa6c16b832e78bf180ee5bf2e1e368a80" name="gaa6c16b832e78bf180ee5bf2e1e368a80"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_AGGRESSIVE_PM</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909">cyw43_pm_value</a>(<a class="el" href="group__cyw43__ll.html#ga78a7c3517845b3cd089a39140ddc07c0">CYW43_PM2_POWERSAVE_MODE</a>, 2000, 1, 1, 10)</td></tr>
<tr class="memdesc:gaa6c16b832e78bf180ee5bf2e1e368a80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Aggressive power management mode for optimal power usage at the cost of performance. <br /></td></tr>
<tr class="separator:gaa6c16b832e78bf180ee5bf2e1e368a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae851add600bd9b8e6af50bee178b1df2"><td class="memItemLeft" align="right" valign="top"><a id="gae851add600bd9b8e6af50bee178b1df2" name="gae851add600bd9b8e6af50bee178b1df2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_PERFORMANCE_PM</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909">cyw43_pm_value</a>(<a class="el" href="group__cyw43__ll.html#ga78a7c3517845b3cd089a39140ddc07c0">CYW43_PM2_POWERSAVE_MODE</a>, 20, 1, 1, 1)</td></tr>
<tr class="memdesc:gae851add600bd9b8e6af50bee178b1df2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performance power management mode where more power is used to increase performance. <br /></td></tr>
<tr class="separator:gae851add600bd9b8e6af50bee178b1df2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga04e4fc54157cb2a9a58b7c45c653d119"><td class="memItemLeft" align="right" valign="top"><a id="ga04e4fc54157cb2a9a58b7c45c653d119" name="ga04e4fc54157cb2a9a58b7c45c653d119"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY</b>(A,  B,  REV)&#160;&#160;&#160;((unsigned char)(A) | ((unsigned char)(B) &lt;&lt; 8) | ((REV) &lt;&lt; 16))</td></tr>
<tr class="memdesc:ga04e4fc54157cb2a9a58b7c45c653d119"><td class="mdescLeft">&#160;</td><td class="mdescRight">create a country code from the two character country and revision number <br /></td></tr>
<tr class="separator:ga04e4fc54157cb2a9a58b7c45c653d119"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga74a1f7fafee37a81cd75256fb9485b36"><td class="memItemLeft" align="right" valign="top"><a id="ga74a1f7fafee37a81cd75256fb9485b36" name="ga74a1f7fafee37a81cd75256fb9485b36"></a>
typedef struct <a class="el" href="struct__cyw43__t.html">_cyw43_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_t</b></td></tr>
<tr class="separator:ga74a1f7fafee37a81cd75256fb9485b36"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gac877922f1b00e5812ea5e400366fd736"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gac877922f1b00e5812ea5e400366fd736">cyw43_init</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self)</td></tr>
<tr class="memdesc:gac877922f1b00e5812ea5e400366fd736"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the driver.  <a href="group__cyw43__driver.html#gac877922f1b00e5812ea5e400366fd736">More...</a><br /></td></tr>
<tr class="separator:gac877922f1b00e5812ea5e400366fd736"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3cc2cc329198fb250fb39a553a450179"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga3cc2cc329198fb250fb39a553a450179">cyw43_deinit</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self)</td></tr>
<tr class="memdesc:ga3cc2cc329198fb250fb39a553a450179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Shut the driver down.  <a href="group__cyw43__driver.html#ga3cc2cc329198fb250fb39a553a450179">More...</a><br /></td></tr>
<tr class="separator:ga3cc2cc329198fb250fb39a553a450179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabdb5c6e3ec03f9faa6120f2e8e188321"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gabdb5c6e3ec03f9faa6120f2e8e188321">cyw43_ioctl</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint32_t cmd, size_t len, uint8_t *buf, uint32_t iface)</td></tr>
<tr class="memdesc:gabdb5c6e3ec03f9faa6120f2e8e188321"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send an ioctl command to cyw43.  <a href="group__cyw43__driver.html#gabdb5c6e3ec03f9faa6120f2e8e188321">More...</a><br /></td></tr>
<tr class="separator:gabdb5c6e3ec03f9faa6120f2e8e188321"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9ffc71d0f894a6bbff498fa1665da425"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga9ffc71d0f894a6bbff498fa1665da425">cyw43_send_ethernet</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf, size_t len, const void *buf, bool is_pbuf)</td></tr>
<tr class="memdesc:ga9ffc71d0f894a6bbff498fa1665da425"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send a raw ethernet packet.  <a href="group__cyw43__driver.html#ga9ffc71d0f894a6bbff498fa1665da425">More...</a><br /></td></tr>
<tr class="separator:ga9ffc71d0f894a6bbff498fa1665da425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga808eabf2e62d713990ad2994596cb7d3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga808eabf2e62d713990ad2994596cb7d3">cyw43_wifi_pm</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint32_t pm)</td></tr>
<tr class="memdesc:ga808eabf2e62d713990ad2994596cb7d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the wifi power management mode.  <a href="group__cyw43__driver.html#ga808eabf2e62d713990ad2994596cb7d3">More...</a><br /></td></tr>
<tr class="separator:ga808eabf2e62d713990ad2994596cb7d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaccc3aa20b519396ab845d9997565470"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gaaccc3aa20b519396ab845d9997565470">cyw43_wifi_get_pm</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint32_t *pm)</td></tr>
<tr class="memdesc:gaaccc3aa20b519396ab845d9997565470"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the wifi power management mode.  <a href="group__cyw43__driver.html#gaaccc3aa20b519396ab845d9997565470">More...</a><br /></td></tr>
<tr class="separator:gaaccc3aa20b519396ab845d9997565470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga71e656d02aabca214ae344f29ae1d033"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga71e656d02aabca214ae344f29ae1d033">cyw43_wifi_link_status</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:ga71e656d02aabca214ae344f29ae1d033"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the wifi link status.  <a href="group__cyw43__driver.html#ga71e656d02aabca214ae344f29ae1d033">More...</a><br /></td></tr>
<tr class="separator:ga71e656d02aabca214ae344f29ae1d033"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01d796a677d1abf56f663799c8f3bc12"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga01d796a677d1abf56f663799c8f3bc12">cyw43_wifi_set_up</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf, bool up, uint32_t country)</td></tr>
<tr class="memdesc:ga01d796a677d1abf56f663799c8f3bc12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up and initialise wifi.  <a href="group__cyw43__driver.html#ga01d796a677d1abf56f663799c8f3bc12">More...</a><br /></td></tr>
<tr class="separator:ga01d796a677d1abf56f663799c8f3bc12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6d8ce9294b54153f84561add7fae2c18"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga6d8ce9294b54153f84561add7fae2c18">cyw43_wifi_get_mac</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf, uint8_t mac[6])</td></tr>
<tr class="memdesc:ga6d8ce9294b54153f84561add7fae2c18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the mac address of the device.  <a href="group__cyw43__driver.html#ga6d8ce9294b54153f84561add7fae2c18">More...</a><br /></td></tr>
<tr class="separator:ga6d8ce9294b54153f84561add7fae2c18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7e616117a114f78bcd5e7a423ac7bf4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gab7e616117a114f78bcd5e7a423ac7bf4">cyw43_wifi_update_multicast_filter</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint8_t *addr, bool add)</td></tr>
<tr class="memdesc:gab7e616117a114f78bcd5e7a423ac7bf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add/remove multicast group address.  <a href="group__cyw43__driver.html#gab7e616117a114f78bcd5e7a423ac7bf4">More...</a><br /></td></tr>
<tr class="separator:gab7e616117a114f78bcd5e7a423ac7bf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2031aa8f5deeda41c814c53e010a2179"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga2031aa8f5deeda41c814c53e010a2179">cyw43_wifi_scan</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, <a class="el" href="group__cyw43__ll.html#ga01afd41547b4a3156e3e7d37df8c4631">cyw43_wifi_scan_options_t</a> *opts, void *env, int(*result_cb)(void *, const <a class="el" href="group__cyw43__ll.html#gaba84b4a4911fe60952272cf0f9bef5f5">cyw43_ev_scan_result_t</a> *))</td></tr>
<tr class="memdesc:ga2031aa8f5deeda41c814c53e010a2179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform a wifi scan for wifi networks.  <a href="group__cyw43__driver.html#ga2031aa8f5deeda41c814c53e010a2179">More...</a><br /></td></tr>
<tr class="separator:ga2031aa8f5deeda41c814c53e010a2179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1de9262a18ea6dfa6731a41c452b3937"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga1de9262a18ea6dfa6731a41c452b3937">cyw43_wifi_scan_active</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self)</td></tr>
<tr class="memdesc:ga1de9262a18ea6dfa6731a41c452b3937"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if a wifi scan is in progress.  <a href="group__cyw43__driver.html#ga1de9262a18ea6dfa6731a41c452b3937">More...</a><br /></td></tr>
<tr class="separator:ga1de9262a18ea6dfa6731a41c452b3937"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74a4e0598e897c198f7641a7b28cae66"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga74a4e0598e897c198f7641a7b28cae66">cyw43_wifi_join</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, size_t ssid_len, const uint8_t *ssid, size_t key_len, const uint8_t *key, uint32_t auth_type, const uint8_t *bssid, uint32_t channel)</td></tr>
<tr class="memdesc:ga74a4e0598e897c198f7641a7b28cae66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connect or <em>join</em> a wifi network.  <a href="group__cyw43__driver.html#ga74a4e0598e897c198f7641a7b28cae66">More...</a><br /></td></tr>
<tr class="separator:ga74a4e0598e897c198f7641a7b28cae66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga84e0ae0efe92c62d553647ec96804f03"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga84e0ae0efe92c62d553647ec96804f03">cyw43_wifi_leave</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:ga84e0ae0efe92c62d553647ec96804f03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disassociate from a wifi network.  <a href="group__cyw43__driver.html#ga84e0ae0efe92c62d553647ec96804f03">More...</a><br /></td></tr>
<tr class="separator:ga84e0ae0efe92c62d553647ec96804f03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ca1a785bf13016d77d7b89507c8540a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga8ca1a785bf13016d77d7b89507c8540a">cyw43_wifi_get_rssi</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int32_t *rssi)</td></tr>
<tr class="memdesc:ga8ca1a785bf13016d77d7b89507c8540a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the signal strength (RSSI) of the wifi network.  <a href="group__cyw43__driver.html#ga8ca1a785bf13016d77d7b89507c8540a">More...</a><br /></td></tr>
<tr class="separator:ga8ca1a785bf13016d77d7b89507c8540a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga996bc1311c7e154e653417a91ec07c8a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga996bc1311c7e154e653417a91ec07c8a">cyw43_wifi_get_bssid</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint8_t bssid[6])</td></tr>
<tr class="memdesc:ga996bc1311c7e154e653417a91ec07c8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the BSSID of the connected wifi network.  <a href="group__cyw43__driver.html#ga996bc1311c7e154e653417a91ec07c8a">More...</a><br /></td></tr>
<tr class="separator:ga996bc1311c7e154e653417a91ec07c8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d7f6074693aeb25471f08163b08cdbf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga9d7f6074693aeb25471f08163b08cdbf">cyw43_wifi_ap_get_ssid</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, size_t *len, const uint8_t **buf)</td></tr>
<tr class="memdesc:ga9d7f6074693aeb25471f08163b08cdbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ssid for the access point.  <a href="group__cyw43__driver.html#ga9d7f6074693aeb25471f08163b08cdbf">More...</a><br /></td></tr>
<tr class="separator:ga9d7f6074693aeb25471f08163b08cdbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac9ecf2ad31b69d20f00e2d8315e00841"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gac9ecf2ad31b69d20f00e2d8315e00841">cyw43_wifi_ap_get_auth</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self)</td></tr>
<tr class="memdesc:gac9ecf2ad31b69d20f00e2d8315e00841"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the security authorisation used in AP mode.  <a href="group__cyw43__driver.html#gac9ecf2ad31b69d20f00e2d8315e00841">More...</a><br /></td></tr>
<tr class="separator:gac9ecf2ad31b69d20f00e2d8315e00841"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga136a9d0d9a59d6d4fd7e02e89ad47065"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga136a9d0d9a59d6d4fd7e02e89ad47065">cyw43_wifi_ap_set_channel</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint32_t channel)</td></tr>
<tr class="memdesc:ga136a9d0d9a59d6d4fd7e02e89ad47065"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the the channel for the access point.  <a href="group__cyw43__driver.html#ga136a9d0d9a59d6d4fd7e02e89ad47065">More...</a><br /></td></tr>
<tr class="separator:ga136a9d0d9a59d6d4fd7e02e89ad47065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85fdbfa7fedc03a5fa5b9773bad48640"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga85fdbfa7fedc03a5fa5b9773bad48640">cyw43_wifi_ap_set_ssid</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, size_t len, const uint8_t *buf)</td></tr>
<tr class="memdesc:ga85fdbfa7fedc03a5fa5b9773bad48640"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the ssid for the access point.  <a href="group__cyw43__driver.html#ga85fdbfa7fedc03a5fa5b9773bad48640">More...</a><br /></td></tr>
<tr class="separator:ga85fdbfa7fedc03a5fa5b9773bad48640"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabd56c40bc0cb76d85ca6b0f62ae967cf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gabd56c40bc0cb76d85ca6b0f62ae967cf">cyw43_wifi_ap_set_password</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, size_t len, const uint8_t *buf)</td></tr>
<tr class="memdesc:gabd56c40bc0cb76d85ca6b0f62ae967cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the password for the wifi access point.  <a href="group__cyw43__driver.html#gabd56c40bc0cb76d85ca6b0f62ae967cf">More...</a><br /></td></tr>
<tr class="separator:gabd56c40bc0cb76d85ca6b0f62ae967cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7f21ebce7a017bda5df18f8c487383a0"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga7f21ebce7a017bda5df18f8c487383a0">cyw43_wifi_ap_set_auth</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, uint32_t auth)</td></tr>
<tr class="memdesc:ga7f21ebce7a017bda5df18f8c487383a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the security authorisation used in AP mode.  <a href="group__cyw43__driver.html#ga7f21ebce7a017bda5df18f8c487383a0">More...</a><br /></td></tr>
<tr class="separator:ga7f21ebce7a017bda5df18f8c487383a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad17b38ecb304595c897b4affec44c215"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gad17b38ecb304595c897b4affec44c215">cyw43_wifi_ap_get_max_stas</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int *max_stas)</td></tr>
<tr class="memdesc:gad17b38ecb304595c897b4affec44c215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the maximum number of devices (STAs) that can be associated with the wifi access point.  <a href="group__cyw43__driver.html#gad17b38ecb304595c897b4affec44c215">More...</a><br /></td></tr>
<tr class="separator:gad17b38ecb304595c897b4affec44c215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab29499e8715d128111b70e3e0984e6ee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gab29499e8715d128111b70e3e0984e6ee">cyw43_wifi_ap_get_stas</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int *num_stas, uint8_t *macs)</td></tr>
<tr class="memdesc:gab29499e8715d128111b70e3e0984e6ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of devices (STAs) associated with the wifi access point.  <a href="group__cyw43__driver.html#gab29499e8715d128111b70e3e0984e6ee">More...</a><br /></td></tr>
<tr class="separator:gab29499e8715d128111b70e3e0984e6ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga944ae9415dec1c802d8d2a56b9bd37cd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga944ae9415dec1c802d8d2a56b9bd37cd">cyw43_is_initialized</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self)</td></tr>
<tr class="memdesc:ga944ae9415dec1c802d8d2a56b9bd37cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the cyw43 driver been initialised.  <a href="group__cyw43__driver.html#ga944ae9415dec1c802d8d2a56b9bd37cd">More...</a><br /></td></tr>
<tr class="separator:ga944ae9415dec1c802d8d2a56b9bd37cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6313a46aea21d871448521e2d5226877"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga6313a46aea21d871448521e2d5226877">cyw43_cb_tcpip_init</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:ga6313a46aea21d871448521e2d5226877"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialise the IP stack.  <a href="group__cyw43__driver.html#ga6313a46aea21d871448521e2d5226877">More...</a><br /></td></tr>
<tr class="separator:ga6313a46aea21d871448521e2d5226877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga771ae6253e3c43f0882698e1bff10e00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga771ae6253e3c43f0882698e1bff10e00">cyw43_cb_tcpip_deinit</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:ga771ae6253e3c43f0882698e1bff10e00"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitialise the IP stack.  <a href="group__cyw43__driver.html#ga771ae6253e3c43f0882698e1bff10e00">More...</a><br /></td></tr>
<tr class="separator:ga771ae6253e3c43f0882698e1bff10e00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf733b56534063feebc9ef79006cb605"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gaaf733b56534063feebc9ef79006cb605">cyw43_cb_tcpip_set_link_up</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:gaaf733b56534063feebc9ef79006cb605"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify the IP stack that the link is up.  <a href="group__cyw43__driver.html#gaaf733b56534063feebc9ef79006cb605">More...</a><br /></td></tr>
<tr class="separator:gaaf733b56534063feebc9ef79006cb605"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf36552c3981b1a908545b4a4df6cda8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gaf36552c3981b1a908545b4a4df6cda8b">cyw43_cb_tcpip_set_link_down</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:gaf36552c3981b1a908545b4a4df6cda8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Notify the IP stack that the link is down.  <a href="group__cyw43__driver.html#gaf36552c3981b1a908545b4a4df6cda8b">More...</a><br /></td></tr>
<tr class="separator:gaf36552c3981b1a908545b4a4df6cda8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacb3d0aa29eb5b8985bb583151831bb04"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#gacb3d0aa29eb5b8985bb583151831bb04">cyw43_tcpip_link_status</a> (<a class="el" href="struct__cyw43__t.html">cyw43_t</a> *self, int itf)</td></tr>
<tr class="memdesc:gacb3d0aa29eb5b8985bb583151831bb04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the link status.  <a href="group__cyw43__driver.html#gacb3d0aa29eb5b8985bb583151831bb04">More...</a><br /></td></tr>
<tr class="separator:gacb3d0aa29eb5b8985bb583151831bb04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14f51524ab21f29112a615aceddd3909"><td class="memItemLeft" align="right" valign="top">static uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909">cyw43_pm_value</a> (uint8_t pm_mode, uint16_t pm2_sleep_ret_ms, uint8_t li_beacon_period, uint8_t li_dtim_period, uint8_t li_assoc)</td></tr>
<tr class="memdesc:ga14f51524ab21f29112a615aceddd3909"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a power management value to pass to cyw43_wifi_pm.  <a href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909">More...</a><br /></td></tr>
<tr class="separator:ga14f51524ab21f29112a615aceddd3909"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:gafe7528793baa39a05a1c4ff55f5b5807"><td class="memItemLeft" align="right" valign="top"><a id="gafe7528793baa39a05a1c4ff55f5b5807" name="gafe7528793baa39a05a1c4ff55f5b5807"></a>
<a class="el" href="struct__cyw43__t.html">cyw43_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_state</b></td></tr>
<tr class="separator:gafe7528793baa39a05a1c4ff55f5b5807"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65550517babd8db2d2a052f41de6ae33"><td class="memItemLeft" align="right" valign="top"><a id="ga65550517babd8db2d2a052f41de6ae33" name="ga65550517babd8db2d2a052f41de6ae33"></a>
void(*&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_poll</b> )(void)</td></tr>
<tr class="separator:ga65550517babd8db2d2a052f41de6ae33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8345872c237308a5e4e984060f9f399f"><td class="memItemLeft" align="right" valign="top"><a id="ga8345872c237308a5e4e984060f9f399f" name="ga8345872c237308a5e4e984060f9f399f"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_sleep</b></td></tr>
<tr class="separator:ga8345872c237308a5e4e984060f9f399f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">CYW43 driver version as components</h2></td></tr>
<tr><td class="ititle" colspan="2"><p >Current version of the CYW43 driver as major/minor/micro components <a class="anchor" id="CYW43_VERSION_"></a></p>
</td></tr>
<tr class="memitem:gaadd2b99aad472bf9da165c4a960261c0"><td class="memItemLeft" align="right" valign="top"><a id="gaadd2b99aad472bf9da165c4a960261c0" name="gaadd2b99aad472bf9da165c4a960261c0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_VERSION_MAJOR</b>&#160;&#160;&#160;1</td></tr>
<tr class="separator:gaadd2b99aad472bf9da165c4a960261c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90ab63cdb6ef74c85793545434eb3e07"><td class="memItemLeft" align="right" valign="top"><a id="ga90ab63cdb6ef74c85793545434eb3e07" name="ga90ab63cdb6ef74c85793545434eb3e07"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_VERSION_MINOR</b>&#160;&#160;&#160;0</td></tr>
<tr class="separator:ga90ab63cdb6ef74c85793545434eb3e07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga22fd82bc7653894651e5d3139953b7fd"><td class="memItemLeft" align="right" valign="top"><a id="ga22fd82bc7653894651e5d3139953b7fd" name="ga22fd82bc7653894651e5d3139953b7fd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_VERSION_MICRO</b>&#160;&#160;&#160;3</td></tr>
<tr class="separator:ga22fd82bc7653894651e5d3139953b7fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">CYW43 driver version</h2></td></tr>
<tr><td class="ititle" colspan="2"><p >Combined CYW43 driver version as a 32-bit number </p>
</td></tr>
<tr class="memitem:gaf55d65bd13eb9ce4d41d296012e9b5c7"><td class="memItemLeft" align="right" valign="top"><a id="gaf55d65bd13eb9ce4d41d296012e9b5c7" name="gaf55d65bd13eb9ce4d41d296012e9b5c7"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_VERSION</b>&#160;&#160;&#160;(CYW43_VERSION_MAJOR &lt;&lt; 16 | CYW43_VERSION_MINOR &lt;&lt; 8 | CYW43_VERSION_MICRO)</td></tr>
<tr class="separator:gaf55d65bd13eb9ce4d41d296012e9b5c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">Trace flags</h2></td></tr>
<tr><td class="ititle" colspan="2"><p ><a class="anchor" id="CYW43_TRACE_"></a></p>
</td></tr>
<tr class="memitem:ga6880d6ce2ee2887011bd8d9511ede3a2"><td class="memItemLeft" align="right" valign="top"><a id="ga6880d6ce2ee2887011bd8d9511ede3a2" name="ga6880d6ce2ee2887011bd8d9511ede3a2"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_TRACE_ASYNC_EV</b>&#160;&#160;&#160;(0x0001)</td></tr>
<tr class="separator:ga6880d6ce2ee2887011bd8d9511ede3a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga87584b23c899da82e138d7609433fbb8"><td class="memItemLeft" align="right" valign="top"><a id="ga87584b23c899da82e138d7609433fbb8" name="ga87584b23c899da82e138d7609433fbb8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_TRACE_ETH_TX</b>&#160;&#160;&#160;(0x0002)</td></tr>
<tr class="separator:ga87584b23c899da82e138d7609433fbb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9d1eef8db8e5a82d70944c0702f5b960"><td class="memItemLeft" align="right" valign="top"><a id="ga9d1eef8db8e5a82d70944c0702f5b960" name="ga9d1eef8db8e5a82d70944c0702f5b960"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_TRACE_ETH_RX</b>&#160;&#160;&#160;(0x0004)</td></tr>
<tr class="separator:ga9d1eef8db8e5a82d70944c0702f5b960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6818d0b501e9375665dc056885432c33"><td class="memItemLeft" align="right" valign="top"><a id="ga6818d0b501e9375665dc056885432c33" name="ga6818d0b501e9375665dc056885432c33"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_TRACE_ETH_FULL</b>&#160;&#160;&#160;(0x0008)</td></tr>
<tr class="separator:ga6818d0b501e9375665dc056885432c33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6699cc71c36903cf99fc710ad456e944"><td class="memItemLeft" align="right" valign="top"><a id="ga6699cc71c36903cf99fc710ad456e944" name="ga6699cc71c36903cf99fc710ad456e944"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_TRACE_MAC</b>&#160;&#160;&#160;(0x0010)</td></tr>
<tr class="separator:ga6699cc71c36903cf99fc710ad456e944"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">Link status</h2></td></tr>
<tr><td class="ititle" colspan="2"><p ><a class="anchor" id="CYW43_LINK_"></a></p><dl class="section see"><dt>See also</dt><dd>status_name() to get a user readable name of the status for debug </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#ga71e656d02aabca214ae344f29ae1d033" title="Get the wifi link status.">cyw43_wifi_link_status()</a> to get the wifi status </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#gacb3d0aa29eb5b8985bb583151831bb04" title="Get the link status.">cyw43_tcpip_link_status()</a> to get the overall link status </dd></dl>
</td></tr>
<tr class="memitem:ga9d29f8c3f1c6f8d7173823c623245054"><td class="memItemLeft" align="right" valign="top"><a id="ga9d29f8c3f1c6f8d7173823c623245054" name="ga9d29f8c3f1c6f8d7173823c623245054"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_DOWN</b>&#160;&#160;&#160;(0)</td></tr>
<tr class="memdesc:ga9d29f8c3f1c6f8d7173823c623245054"><td class="mdescLeft">&#160;</td><td class="mdescRight">link is down <br /></td></tr>
<tr class="separator:ga9d29f8c3f1c6f8d7173823c623245054"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7fc2e306eb183e3b72d49690c705cb7b"><td class="memItemLeft" align="right" valign="top"><a id="ga7fc2e306eb183e3b72d49690c705cb7b" name="ga7fc2e306eb183e3b72d49690c705cb7b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_JOIN</b>&#160;&#160;&#160;(1)</td></tr>
<tr class="memdesc:ga7fc2e306eb183e3b72d49690c705cb7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connected to wifi. <br /></td></tr>
<tr class="separator:ga7fc2e306eb183e3b72d49690c705cb7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa37e40d86db6bcb285bc805950b3436"><td class="memItemLeft" align="right" valign="top"><a id="gafa37e40d86db6bcb285bc805950b3436" name="gafa37e40d86db6bcb285bc805950b3436"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_NOIP</b>&#160;&#160;&#160;(2)</td></tr>
<tr class="memdesc:gafa37e40d86db6bcb285bc805950b3436"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connected to wifi, but no IP address. <br /></td></tr>
<tr class="separator:gafa37e40d86db6bcb285bc805950b3436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7e486c791a17b828715496cdc0ebf47f"><td class="memItemLeft" align="right" valign="top"><a id="ga7e486c791a17b828715496cdc0ebf47f" name="ga7e486c791a17b828715496cdc0ebf47f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_UP</b>&#160;&#160;&#160;(3)</td></tr>
<tr class="memdesc:ga7e486c791a17b828715496cdc0ebf47f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connected to wifi with an IP address. <br /></td></tr>
<tr class="separator:ga7e486c791a17b828715496cdc0ebf47f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21651bd28088f63f7925c495e8972ea0"><td class="memItemLeft" align="right" valign="top"><a id="ga21651bd28088f63f7925c495e8972ea0" name="ga21651bd28088f63f7925c495e8972ea0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_FAIL</b>&#160;&#160;&#160;(-1)</td></tr>
<tr class="memdesc:ga21651bd28088f63f7925c495e8972ea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Connection failed. <br /></td></tr>
<tr class="separator:ga21651bd28088f63f7925c495e8972ea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga833f92ca10206155a79d69d688c4d50d"><td class="memItemLeft" align="right" valign="top"><a id="ga833f92ca10206155a79d69d688c4d50d" name="ga833f92ca10206155a79d69d688c4d50d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_LINK_NONET</b>&#160;&#160;&#160;(-2)</td></tr>
<tr class="memdesc:ga833f92ca10206155a79d69d688c4d50d"><td class="mdescLeft">&#160;</td><td class="mdescRight">No matching SSID found (could be out of range, or down) <br /></td></tr>
<tr class="separator:ga833f92ca10206155a79d69d688c4d50d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga99e382057c3bea57751d438fd122d121"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__cyw43__driver.html#ga99e382057c3bea57751d438fd122d121">CYW43_LINK_BADAUTH</a>&#160;&#160;&#160;(-3)</td></tr>
<tr class="separator:ga99e382057c3bea57751d438fd122d121"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader">Country codes</h2></td></tr>
<tr><td class="ititle" colspan="2"><p ><a class="anchor" id="CYW43_COUNTRY_"></a></p>
</td></tr>
<tr class="memitem:gaf1455f71af880ba715c3858080fb0eca"><td class="memItemLeft" align="right" valign="top"><a id="gaf1455f71af880ba715c3858080fb0eca" name="gaf1455f71af880ba715c3858080fb0eca"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_WORLDWIDE</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('X', 'X', 0)</td></tr>
<tr class="separator:gaf1455f71af880ba715c3858080fb0eca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga052c284616316ebac974d2cfbef10662"><td class="memItemLeft" align="right" valign="top"><a id="ga052c284616316ebac974d2cfbef10662" name="ga052c284616316ebac974d2cfbef10662"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_AUSTRALIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('A', 'U', 0)</td></tr>
<tr class="separator:ga052c284616316ebac974d2cfbef10662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9de318b05eae3c809182c12a455dbdee"><td class="memItemLeft" align="right" valign="top"><a id="ga9de318b05eae3c809182c12a455dbdee" name="ga9de318b05eae3c809182c12a455dbdee"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_AUSTRIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('A', 'T', 0)</td></tr>
<tr class="separator:ga9de318b05eae3c809182c12a455dbdee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac860ddbc2871d7616d49019c21e01bd9"><td class="memItemLeft" align="right" valign="top"><a id="gac860ddbc2871d7616d49019c21e01bd9" name="gac860ddbc2871d7616d49019c21e01bd9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_BELGIUM</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('B', 'E', 0)</td></tr>
<tr class="separator:gac860ddbc2871d7616d49019c21e01bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3584a426e77fe8eac47926b3d2f70d19"><td class="memItemLeft" align="right" valign="top"><a id="ga3584a426e77fe8eac47926b3d2f70d19" name="ga3584a426e77fe8eac47926b3d2f70d19"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_BRAZIL</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('B', 'R', 0)</td></tr>
<tr class="separator:ga3584a426e77fe8eac47926b3d2f70d19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2125534430e36d9b8b048e4eab3c0cc"><td class="memItemLeft" align="right" valign="top"><a id="gaf2125534430e36d9b8b048e4eab3c0cc" name="gaf2125534430e36d9b8b048e4eab3c0cc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_CANADA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'A', 0)</td></tr>
<tr class="separator:gaf2125534430e36d9b8b048e4eab3c0cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafa3daef04f07c4acf59fcf1fd48c3b5f"><td class="memItemLeft" align="right" valign="top"><a id="gafa3daef04f07c4acf59fcf1fd48c3b5f" name="gafa3daef04f07c4acf59fcf1fd48c3b5f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_CHILE</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'L', 0)</td></tr>
<tr class="separator:gafa3daef04f07c4acf59fcf1fd48c3b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga403923a5e9cf6bfdb971bc8658173679"><td class="memItemLeft" align="right" valign="top"><a id="ga403923a5e9cf6bfdb971bc8658173679" name="ga403923a5e9cf6bfdb971bc8658173679"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_CHINA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'N', 0)</td></tr>
<tr class="separator:ga403923a5e9cf6bfdb971bc8658173679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab6dda6bf3b71bec0b3747379516b6d04"><td class="memItemLeft" align="right" valign="top"><a id="gab6dda6bf3b71bec0b3747379516b6d04" name="gab6dda6bf3b71bec0b3747379516b6d04"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_COLOMBIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'O', 0)</td></tr>
<tr class="separator:gab6dda6bf3b71bec0b3747379516b6d04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae76e73194ad3f9cd2fc416795afdf686"><td class="memItemLeft" align="right" valign="top"><a id="gae76e73194ad3f9cd2fc416795afdf686" name="gae76e73194ad3f9cd2fc416795afdf686"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_CZECH_REPUBLIC</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'Z', 0)</td></tr>
<tr class="separator:gae76e73194ad3f9cd2fc416795afdf686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7c4c4d96cdcc2b491eca634d76126c94"><td class="memItemLeft" align="right" valign="top"><a id="ga7c4c4d96cdcc2b491eca634d76126c94" name="ga7c4c4d96cdcc2b491eca634d76126c94"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_DENMARK</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('D', 'K', 0)</td></tr>
<tr class="separator:ga7c4c4d96cdcc2b491eca634d76126c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga00dc15432944921f7b86c7730d360b35"><td class="memItemLeft" align="right" valign="top"><a id="ga00dc15432944921f7b86c7730d360b35" name="ga00dc15432944921f7b86c7730d360b35"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_ESTONIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('E', 'E', 0)</td></tr>
<tr class="separator:ga00dc15432944921f7b86c7730d360b35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga44312195b38acf117ea4af3a8b62b456"><td class="memItemLeft" align="right" valign="top"><a id="ga44312195b38acf117ea4af3a8b62b456" name="ga44312195b38acf117ea4af3a8b62b456"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_FINLAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('F', 'I', 0)</td></tr>
<tr class="separator:ga44312195b38acf117ea4af3a8b62b456"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cd97637e2879b1077dc8ace7d56833e"><td class="memItemLeft" align="right" valign="top"><a id="ga7cd97637e2879b1077dc8ace7d56833e" name="ga7cd97637e2879b1077dc8ace7d56833e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_FRANCE</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('F', 'R', 0)</td></tr>
<tr class="separator:ga7cd97637e2879b1077dc8ace7d56833e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga85d3b9c07721969b5e66d8edd989bb6a"><td class="memItemLeft" align="right" valign="top"><a id="ga85d3b9c07721969b5e66d8edd989bb6a" name="ga85d3b9c07721969b5e66d8edd989bb6a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_GERMANY</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('D', 'E', 0)</td></tr>
<tr class="separator:ga85d3b9c07721969b5e66d8edd989bb6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf98b5a74122a0a525ef9b1e4a4a99ec9"><td class="memItemLeft" align="right" valign="top"><a id="gaf98b5a74122a0a525ef9b1e4a4a99ec9" name="gaf98b5a74122a0a525ef9b1e4a4a99ec9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_GREECE</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('G', 'R', 0)</td></tr>
<tr class="separator:gaf98b5a74122a0a525ef9b1e4a4a99ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae71de54d1a6928436a75ba498efde558"><td class="memItemLeft" align="right" valign="top"><a id="gae71de54d1a6928436a75ba498efde558" name="gae71de54d1a6928436a75ba498efde558"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_HONG_KONG</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('H', 'K', 0)</td></tr>
<tr class="separator:gae71de54d1a6928436a75ba498efde558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae9da3da665eb0c1b435af4364768c013"><td class="memItemLeft" align="right" valign="top"><a id="gae9da3da665eb0c1b435af4364768c013" name="gae9da3da665eb0c1b435af4364768c013"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_HUNGARY</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('H', 'U', 0)</td></tr>
<tr class="separator:gae9da3da665eb0c1b435af4364768c013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7b23ea0944b14acdc8f85efd8f0fd631"><td class="memItemLeft" align="right" valign="top"><a id="ga7b23ea0944b14acdc8f85efd8f0fd631" name="ga7b23ea0944b14acdc8f85efd8f0fd631"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_ICELAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('I', 'S', 0)</td></tr>
<tr class="separator:ga7b23ea0944b14acdc8f85efd8f0fd631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga720a65f5b1ac340c6f7576c601596228"><td class="memItemLeft" align="right" valign="top"><a id="ga720a65f5b1ac340c6f7576c601596228" name="ga720a65f5b1ac340c6f7576c601596228"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_INDIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('I', 'N', 0)</td></tr>
<tr class="separator:ga720a65f5b1ac340c6f7576c601596228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5360b111988bf1a9f7e50b182de74d9b"><td class="memItemLeft" align="right" valign="top"><a id="ga5360b111988bf1a9f7e50b182de74d9b" name="ga5360b111988bf1a9f7e50b182de74d9b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_ISRAEL</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('I', 'L', 0)</td></tr>
<tr class="separator:ga5360b111988bf1a9f7e50b182de74d9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacfb9c750c2b009967fbb2730ff2f0b03"><td class="memItemLeft" align="right" valign="top"><a id="gacfb9c750c2b009967fbb2730ff2f0b03" name="gacfb9c750c2b009967fbb2730ff2f0b03"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_ITALY</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('I', 'T', 0)</td></tr>
<tr class="separator:gacfb9c750c2b009967fbb2730ff2f0b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4afb44547ab7cca22ca10cf94a71aeb4"><td class="memItemLeft" align="right" valign="top"><a id="ga4afb44547ab7cca22ca10cf94a71aeb4" name="ga4afb44547ab7cca22ca10cf94a71aeb4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_JAPAN</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('J', 'P', 0)</td></tr>
<tr class="separator:ga4afb44547ab7cca22ca10cf94a71aeb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06e0c59eecc6d425fbb76e03b1653c0e"><td class="memItemLeft" align="right" valign="top"><a id="ga06e0c59eecc6d425fbb76e03b1653c0e" name="ga06e0c59eecc6d425fbb76e03b1653c0e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_KENYA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('K', 'E', 0)</td></tr>
<tr class="separator:ga06e0c59eecc6d425fbb76e03b1653c0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gada9d2b474aa250c9ba12d9073af3bf62"><td class="memItemLeft" align="right" valign="top"><a id="gada9d2b474aa250c9ba12d9073af3bf62" name="gada9d2b474aa250c9ba12d9073af3bf62"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_LATVIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('L', 'V', 0)</td></tr>
<tr class="separator:gada9d2b474aa250c9ba12d9073af3bf62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga31f4082dc9fa3205fe39a751716bc071"><td class="memItemLeft" align="right" valign="top"><a id="ga31f4082dc9fa3205fe39a751716bc071" name="ga31f4082dc9fa3205fe39a751716bc071"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_LIECHTENSTEIN</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('L', 'I', 0)</td></tr>
<tr class="separator:ga31f4082dc9fa3205fe39a751716bc071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0dbbba56c645bff8f1cc57f016db37a1"><td class="memItemLeft" align="right" valign="top"><a id="ga0dbbba56c645bff8f1cc57f016db37a1" name="ga0dbbba56c645bff8f1cc57f016db37a1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_LITHUANIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('L', 'T', 0)</td></tr>
<tr class="separator:ga0dbbba56c645bff8f1cc57f016db37a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc9953b5862463812fafaedd0abc740f"><td class="memItemLeft" align="right" valign="top"><a id="gafc9953b5862463812fafaedd0abc740f" name="gafc9953b5862463812fafaedd0abc740f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_LUXEMBOURG</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('L', 'U', 0)</td></tr>
<tr class="separator:gafc9953b5862463812fafaedd0abc740f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9dfbb540cc045edff3523f2ed9577c72"><td class="memItemLeft" align="right" valign="top"><a id="ga9dfbb540cc045edff3523f2ed9577c72" name="ga9dfbb540cc045edff3523f2ed9577c72"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_MALAYSIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('M', 'Y', 0)</td></tr>
<tr class="separator:ga9dfbb540cc045edff3523f2ed9577c72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee25af72242418524f917f9bd45c279b"><td class="memItemLeft" align="right" valign="top"><a id="gaee25af72242418524f917f9bd45c279b" name="gaee25af72242418524f917f9bd45c279b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_MALTA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('M', 'T', 0)</td></tr>
<tr class="separator:gaee25af72242418524f917f9bd45c279b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea35ab7944316e874ebe72d019dd367f"><td class="memItemLeft" align="right" valign="top"><a id="gaea35ab7944316e874ebe72d019dd367f" name="gaea35ab7944316e874ebe72d019dd367f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_MEXICO</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('M', 'X', 0)</td></tr>
<tr class="separator:gaea35ab7944316e874ebe72d019dd367f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga493f88d076191fa9252c62b4f1ff4679"><td class="memItemLeft" align="right" valign="top"><a id="ga493f88d076191fa9252c62b4f1ff4679" name="ga493f88d076191fa9252c62b4f1ff4679"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_NETHERLANDS</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('N', 'L', 0)</td></tr>
<tr class="separator:ga493f88d076191fa9252c62b4f1ff4679"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga45279adf17e27f1fc859148d38af3a98"><td class="memItemLeft" align="right" valign="top"><a id="ga45279adf17e27f1fc859148d38af3a98" name="ga45279adf17e27f1fc859148d38af3a98"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_NEW_ZEALAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('N', 'Z', 0)</td></tr>
<tr class="separator:ga45279adf17e27f1fc859148d38af3a98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8c14f33647e451afc5e57c07a689bb5e"><td class="memItemLeft" align="right" valign="top"><a id="ga8c14f33647e451afc5e57c07a689bb5e" name="ga8c14f33647e451afc5e57c07a689bb5e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_NIGERIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('N', 'G', 0)</td></tr>
<tr class="separator:ga8c14f33647e451afc5e57c07a689bb5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga54521a20c4b3b7a326a6871357040bce"><td class="memItemLeft" align="right" valign="top"><a id="ga54521a20c4b3b7a326a6871357040bce" name="ga54521a20c4b3b7a326a6871357040bce"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_NORWAY</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('N', 'O', 0)</td></tr>
<tr class="separator:ga54521a20c4b3b7a326a6871357040bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa268eaa97fa68e477c1f1a9a3f3d802c"><td class="memItemLeft" align="right" valign="top"><a id="gaa268eaa97fa68e477c1f1a9a3f3d802c" name="gaa268eaa97fa68e477c1f1a9a3f3d802c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_PERU</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('P', 'E', 0)</td></tr>
<tr class="separator:gaa268eaa97fa68e477c1f1a9a3f3d802c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ca7abfd8353fcdd2f57645f37419a01"><td class="memItemLeft" align="right" valign="top"><a id="ga5ca7abfd8353fcdd2f57645f37419a01" name="ga5ca7abfd8353fcdd2f57645f37419a01"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_PHILIPPINES</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('P', 'H', 0)</td></tr>
<tr class="separator:ga5ca7abfd8353fcdd2f57645f37419a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3629c74b872408386cca8a908c531b37"><td class="memItemLeft" align="right" valign="top"><a id="ga3629c74b872408386cca8a908c531b37" name="ga3629c74b872408386cca8a908c531b37"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_POLAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('P', 'L', 0)</td></tr>
<tr class="separator:ga3629c74b872408386cca8a908c531b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae202aa8f013d1247409018408ad2c2e0"><td class="memItemLeft" align="right" valign="top"><a id="gae202aa8f013d1247409018408ad2c2e0" name="gae202aa8f013d1247409018408ad2c2e0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_PORTUGAL</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('P', 'T', 0)</td></tr>
<tr class="separator:gae202aa8f013d1247409018408ad2c2e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaea14f66f18331c3ccda93a6c92550308"><td class="memItemLeft" align="right" valign="top"><a id="gaea14f66f18331c3ccda93a6c92550308" name="gaea14f66f18331c3ccda93a6c92550308"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SINGAPORE</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('S', 'G', 0)</td></tr>
<tr class="separator:gaea14f66f18331c3ccda93a6c92550308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad19fa53ae5eec1a1abbe2db6fb4cc61a"><td class="memItemLeft" align="right" valign="top"><a id="gad19fa53ae5eec1a1abbe2db6fb4cc61a" name="gad19fa53ae5eec1a1abbe2db6fb4cc61a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SLOVAKIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('S', 'K', 0)</td></tr>
<tr class="separator:gad19fa53ae5eec1a1abbe2db6fb4cc61a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga811211da3e03c0cadcc0d3429708c60b"><td class="memItemLeft" align="right" valign="top"><a id="ga811211da3e03c0cadcc0d3429708c60b" name="ga811211da3e03c0cadcc0d3429708c60b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SLOVENIA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('S', 'I', 0)</td></tr>
<tr class="separator:ga811211da3e03c0cadcc0d3429708c60b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab1206589006d4c74b4b3a274b85eb1c1"><td class="memItemLeft" align="right" valign="top"><a id="gab1206589006d4c74b4b3a274b85eb1c1" name="gab1206589006d4c74b4b3a274b85eb1c1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SOUTH_AFRICA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('Z', 'A', 0)</td></tr>
<tr class="separator:gab1206589006d4c74b4b3a274b85eb1c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad48dedb3591a7636c3749c4fae14e355"><td class="memItemLeft" align="right" valign="top"><a id="gad48dedb3591a7636c3749c4fae14e355" name="gad48dedb3591a7636c3749c4fae14e355"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SOUTH_KOREA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('K', 'R', 0)</td></tr>
<tr class="separator:gad48dedb3591a7636c3749c4fae14e355"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbd1a9b3b29d19eac79cf61c22136871"><td class="memItemLeft" align="right" valign="top"><a id="gabbd1a9b3b29d19eac79cf61c22136871" name="gabbd1a9b3b29d19eac79cf61c22136871"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SPAIN</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('E', 'S', 0)</td></tr>
<tr class="separator:gabbd1a9b3b29d19eac79cf61c22136871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf190759f7f751da2afa98f218010f57a"><td class="memItemLeft" align="right" valign="top"><a id="gaf190759f7f751da2afa98f218010f57a" name="gaf190759f7f751da2afa98f218010f57a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SWEDEN</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('S', 'E', 0)</td></tr>
<tr class="separator:gaf190759f7f751da2afa98f218010f57a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga876aad4ea550f23593a92804eb7f5ec4"><td class="memItemLeft" align="right" valign="top"><a id="ga876aad4ea550f23593a92804eb7f5ec4" name="ga876aad4ea550f23593a92804eb7f5ec4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_SWITZERLAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('C', 'H', 0)</td></tr>
<tr class="separator:ga876aad4ea550f23593a92804eb7f5ec4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0c3f9908556347cafb0f9c26e81b785"><td class="memItemLeft" align="right" valign="top"><a id="gac0c3f9908556347cafb0f9c26e81b785" name="gac0c3f9908556347cafb0f9c26e81b785"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_TAIWAN</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('T', 'W', 0)</td></tr>
<tr class="separator:gac0c3f9908556347cafb0f9c26e81b785"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf07977b70f9268468fd202431b09682"><td class="memItemLeft" align="right" valign="top"><a id="gaaf07977b70f9268468fd202431b09682" name="gaaf07977b70f9268468fd202431b09682"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_THAILAND</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('T', 'H', 0)</td></tr>
<tr class="separator:gaaf07977b70f9268468fd202431b09682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab51f7950fa0fe021b47561e0eec6455a"><td class="memItemLeft" align="right" valign="top"><a id="gab51f7950fa0fe021b47561e0eec6455a" name="gab51f7950fa0fe021b47561e0eec6455a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_TURKEY</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('T', 'R', 0)</td></tr>
<tr class="separator:gab51f7950fa0fe021b47561e0eec6455a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ff9ab59a487d62852e75c55503c3ea0"><td class="memItemLeft" align="right" valign="top"><a id="ga5ff9ab59a487d62852e75c55503c3ea0" name="ga5ff9ab59a487d62852e75c55503c3ea0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_UK</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('G', 'B', 0)</td></tr>
<tr class="separator:ga5ff9ab59a487d62852e75c55503c3ea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga21f92c12ebdfadea2228d51dddb6f93f"><td class="memItemLeft" align="right" valign="top"><a id="ga21f92c12ebdfadea2228d51dddb6f93f" name="ga21f92c12ebdfadea2228d51dddb6f93f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CYW43_COUNTRY_USA</b>&#160;&#160;&#160;<a class="el" href="group__cyw43__driver.html#ga04e4fc54157cb2a9a58b7c45c653d119">CYW43_COUNTRY</a>('U', 'S', 0)</td></tr>
<tr class="separator:ga21f92c12ebdfadea2228d51dddb6f93f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p >Driver used for Pico W wireless. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="ga99e382057c3bea57751d438fd122d121" name="ga99e382057c3bea57751d438fd122d121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga99e382057c3bea57751d438fd122d121">&#9670;&nbsp;</a></span>CYW43_LINK_BADAUTH</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CYW43_LINK_BADAUTH&#160;&#160;&#160;(-3)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Authenticatation failure </p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga771ae6253e3c43f0882698e1bff10e00" name="ga771ae6253e3c43f0882698e1bff10e00"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga771ae6253e3c43f0882698e1bff10e00">&#9670;&nbsp;</a></span>cyw43_cb_tcpip_deinit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_cb_tcpip_deinit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitialise the IP stack. </p>
<p >This method must be provided by the network stack interface It is called to close the IP stack and free resources.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface used, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga6313a46aea21d871448521e2d5226877" name="ga6313a46aea21d871448521e2d5226877"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6313a46aea21d871448521e2d5226877">&#9670;&nbsp;</a></span>cyw43_cb_tcpip_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_cb_tcpip_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialise the IP stack. </p>
<p >This method must be provided by the network stack interface It is called to initialise the IP stack.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface used, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf36552c3981b1a908545b4a4df6cda8b" name="gaf36552c3981b1a908545b4a4df6cda8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf36552c3981b1a908545b4a4df6cda8b">&#9670;&nbsp;</a></span>cyw43_cb_tcpip_set_link_down()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_cb_tcpip_set_link_down </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Notify the IP stack that the link is down. </p>
<p >This method must be provided by the network stack interface It is called to notify the IP stack that the link is down.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface used, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaaf733b56534063feebc9ef79006cb605" name="gaaf733b56534063feebc9ef79006cb605"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaf733b56534063feebc9ef79006cb605">&#9670;&nbsp;</a></span>cyw43_cb_tcpip_set_link_up()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_cb_tcpip_set_link_up </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Notify the IP stack that the link is up. </p>
<p >This method must be provided by the network stack interface It is called to notify the IP stack that the link is up. This can, for example be used to request an IP address via DHCP.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface used, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3cc2cc329198fb250fb39a553a450179" name="ga3cc2cc329198fb250fb39a553a450179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3cc2cc329198fb250fb39a553a450179">&#9670;&nbsp;</a></span>cyw43_deinit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_deinit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Shut the driver down. </p>
<p >This method will close the network interfaces, and free up resources</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gac877922f1b00e5812ea5e400366fd736" name="gac877922f1b00e5812ea5e400366fd736"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac877922f1b00e5812ea5e400366fd736">&#9670;&nbsp;</a></span>cyw43_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize the driver. </p>
<p >This method must be called before using the driver</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabdb5c6e3ec03f9faa6120f2e8e188321" name="gabdb5c6e3ec03f9faa6120f2e8e188321"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabdb5c6e3ec03f9faa6120f2e8e188321">&#9670;&nbsp;</a></span>cyw43_ioctl()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_ioctl </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>cmd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>iface</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send an ioctl command to cyw43. </p>
<p >This method sends a command to cyw43.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">cmd</td><td>the command to send </td></tr>
    <tr><td class="paramname">len</td><td>the amount of data to send with the command </td></tr>
    <tr><td class="paramname">buf</td><td>a buffer containing the data to send </td></tr>
    <tr><td class="paramname">iface</td><td>the interface to use, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga944ae9415dec1c802d8d2a56b9bd37cd" name="ga944ae9415dec1c802d8d2a56b9bd37cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga944ae9415dec1c802d8d2a56b9bd37cd">&#9670;&nbsp;</a></span>cyw43_is_initialized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool cyw43_is_initialized </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determines if the cyw43 driver been initialised. </p>
<p >Returns true if the cyw43 driver has been initialised with a call to <a class="el" href="group__cyw43__driver.html#gac877922f1b00e5812ea5e400366fd736">cyw43_init</a></p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the cyw43 driver has been initialised </dd></dl>

</div>
</div>
<a id="ga14f51524ab21f29112a615aceddd3909" name="ga14f51524ab21f29112a615aceddd3909"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga14f51524ab21f29112a615aceddd3909">&#9670;&nbsp;</a></span>cyw43_pm_value()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t cyw43_pm_value </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>pm_mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>pm2_sleep_ret_ms</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>li_beacon_period</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>li_dtim_period</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>li_assoc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a power management value to pass to cyw43_wifi_pm. </p>
<p >Generate the power management (PM) value to pass to cyw43_wifi_pm</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">pm_mode   </th><th class="markdownTableHeadNone">Meaning    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_NO_POWERSAVE_MODE   </td><td class="markdownTableBodyNone">No power saving    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_PM1_POWERSAVE_MODE   </td><td class="markdownTableBodyNone">Aggressive power saving which reduces wifi throughput    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_PM2_POWERSAVE_MODE   </td><td class="markdownTableBodyNone">Power saving with High throughput (preferred). Saves power when there is no wifi activity for some time.   </td></tr>
</table>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cyw43__driver.html#ga03979857427e08a04731a513a6912c67">CYW43_DEFAULT_PM</a> </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#gaa6c16b832e78bf180ee5bf2e1e368a80">CYW43_AGGRESSIVE_PM</a> </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#gae851add600bd9b8e6af50bee178b1df2">CYW43_PERFORMANCE_PM</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pm_mode</td><td>Power management mode </td></tr>
    <tr><td class="paramname">pm2_sleep_ret_ms</td><td>The maximum time to wait before going back to sleep for CYW43_PM2_POWERSAVE_MODE mode. Value measured in milliseconds and must be between 10 and 2000ms and divisible by 10 </td></tr>
    <tr><td class="paramname">li_beacon_period</td><td>Wake period is measured in beacon periods </td></tr>
    <tr><td class="paramname">li_dtim_period</td><td>Wake interval measured in DTIMs. If this is set to 0, the wake interval is measured in beacon periods </td></tr>
    <tr><td class="paramname">li_assoc</td><td>Wake interval sent to the access point </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9ffc71d0f894a6bbff498fa1665da425" name="ga9ffc71d0f894a6bbff498fa1665da425"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9ffc71d0f894a6bbff498fa1665da425">&#9670;&nbsp;</a></span>cyw43_send_ethernet()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_send_ethernet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>buf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>is_pbuf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send a raw ethernet packet. </p>
<p >This method sends a raw ethernet packet.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>interface to use, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
    <tr><td class="paramname">len</td><td>the amount of data to send </td></tr>
    <tr><td class="paramname">buf</td><td>the data to send </td></tr>
    <tr><td class="paramname">is_pbuf</td><td>true if buf points to an lwip struct pbuf </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="gacb3d0aa29eb5b8985bb583151831bb04" name="gacb3d0aa29eb5b8985bb583151831bb04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gacb3d0aa29eb5b8985bb583151831bb04">&#9670;&nbsp;</a></span>cyw43_tcpip_link_status()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_tcpip_link_status </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the link status. </p>
<p >Returns the status of the link which is a superset of the wifi link status returned by <a class="el" href="group__cyw43__driver.html#ga71e656d02aabca214ae344f29ae1d033">cyw43_wifi_link_status</a> </p><dl class="section note"><dt>Note</dt><dd>If the link status is negative it indicates an error</dd></dl>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">link status   </th><th class="markdownTableHeadNone">Meaning    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_DOWN   </td><td class="markdownTableBodyNone">Wifi down    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_LINK_JOIN   </td><td class="markdownTableBodyNone">Connected to wifi    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_NOIP   </td><td class="markdownTableBodyNone">Connected to wifi, but no IP address    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_LINK_UP   </td><td class="markdownTableBodyNone">Connect to wifi with an IP address    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_FAIL   </td><td class="markdownTableBodyNone">Connection failed    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_LINK_NONET   </td><td class="markdownTableBodyNone">No matching SSID found (could be out of range, or down)    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_BADAUTH   </td><td class="markdownTableBodyNone">Authenticatation failure   </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface for which to return the link status, should be CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A value representing the link status </dd></dl>

</div>
</div>
<a id="gac9ecf2ad31b69d20f00e2d8315e00841" name="gac9ecf2ad31b69d20f00e2d8315e00841"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac9ecf2ad31b69d20f00e2d8315e00841">&#9670;&nbsp;</a></span>cyw43_wifi_ap_get_auth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint32_t cyw43_wifi_ap_get_auth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the security authorisation used in AP mode. </p>
<p >For access point (AP) mode, this method can be used to get the security authorisation mode.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current security authorisation mode for the access point </dd></dl>

</div>
</div>
<a id="gad17b38ecb304595c897b4affec44c215" name="gad17b38ecb304595c897b4affec44c215"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad17b38ecb304595c897b4affec44c215">&#9670;&nbsp;</a></span>cyw43_wifi_ap_get_max_stas()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_wifi_ap_get_max_stas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>max_stas</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the maximum number of devices (STAs) that can be associated with the wifi access point. </p>
<p >For access point (AP) mode, this method can be used to get the maximum number of devices that can be connected to the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">max_stas</td><td>Returns the maximum number of devices (STAs) that can be connected to the access point (set to 0 on error) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9d7f6074693aeb25471f08163b08cdbf" name="ga9d7f6074693aeb25471f08163b08cdbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9d7f6074693aeb25471f08163b08cdbf">&#9670;&nbsp;</a></span>cyw43_wifi_ap_get_ssid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cyw43_wifi_ap_get_ssid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t **&#160;</td>
          <td class="paramname"><em>buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the ssid for the access point. </p>
<p >For access point (AP) mode, this method can be used to get the SSID name of the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">len</td><td>Returns the length of the AP SSID name </td></tr>
    <tr><td class="paramname">buf</td><td>Returns a pointer to an internal buffer containing the AP SSID name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab29499e8715d128111b70e3e0984e6ee" name="gab29499e8715d128111b70e3e0984e6ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab29499e8715d128111b70e3e0984e6ee">&#9670;&nbsp;</a></span>cyw43_wifi_ap_get_stas()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_wifi_ap_get_stas </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>num_stas</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>macs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the number of devices (STAs) associated with the wifi access point. </p>
<p >For access point (AP) mode, this method can be used to get the number of devices and mac addresses of devices connected to the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">num_stas</td><td>Caller must provide the number of MACs that will fit in the macs buffer; The supplied buffer should have enough room for 6 bytes per MAC address. Returns the number of devices (STA) connected to the access point. </td></tr>
    <tr><td class="paramname">macs</td><td>Returns up to num_stas MAC addresses of devices (STA) connected to the access point. Call <a class="el" href="group__cyw43__driver.html#gad17b38ecb304595c897b4affec44c215">cyw43_wifi_ap_get_max_stas</a> to determine how many mac addresses can be returned. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga7f21ebce7a017bda5df18f8c487383a0" name="ga7f21ebce7a017bda5df18f8c487383a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7f21ebce7a017bda5df18f8c487383a0">&#9670;&nbsp;</a></span>cyw43_wifi_ap_set_auth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cyw43_wifi_ap_set_auth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>auth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the security authorisation used in AP mode. </p>
<p >For access point (AP) mode, this method can be used to set how access to the access point is authorised.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">Auth mode   </th><th class="markdownTableHeadNone">Meaning    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_AUTH_OPEN   </td><td class="markdownTableBodyNone">Use an open access point with no authorisation required    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_AUTH_WPA_TKIP_PSK   </td><td class="markdownTableBodyNone">Use WPA authorisation    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_AUTH_WPA2_AES_PSK   </td><td class="markdownTableBodyNone">Use WPA2 (preferred)    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_AUTH_WPA2_MIXED_PSK   </td><td class="markdownTableBodyNone">Use WPA2/WPA mixed (currently treated the same as <a class="el" href="group__cyw43__ll.html#ga2268ba0fac688f562463e1a57588a432">CYW43_AUTH_WPA2_AES_PSK</a>)   </td></tr>
</table>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">auth</td><td>Auth mode for the access point </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga136a9d0d9a59d6d4fd7e02e89ad47065" name="ga136a9d0d9a59d6d4fd7e02e89ad47065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga136a9d0d9a59d6d4fd7e02e89ad47065">&#9670;&nbsp;</a></span>cyw43_wifi_ap_set_channel()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cyw43_wifi_ap_set_channel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the the channel for the access point. </p>
<p >For access point (AP) mode, this method can be used to set the channel used for the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">channel</td><td>Wifi channel to use for the wifi access point </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gabd56c40bc0cb76d85ca6b0f62ae967cf" name="gabd56c40bc0cb76d85ca6b0f62ae967cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabd56c40bc0cb76d85ca6b0f62ae967cf">&#9670;&nbsp;</a></span>cyw43_wifi_ap_set_password()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cyw43_wifi_ap_set_password </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the password for the wifi access point. </p>
<p >For access point (AP) mode, this method can be used to set the password for the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">len</td><td>The length of the AP password </td></tr>
    <tr><td class="paramname">buf</td><td>A buffer containing the AP password </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga85fdbfa7fedc03a5fa5b9773bad48640" name="ga85fdbfa7fedc03a5fa5b9773bad48640"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga85fdbfa7fedc03a5fa5b9773bad48640">&#9670;&nbsp;</a></span>cyw43_wifi_ap_set_ssid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void cyw43_wifi_ap_set_ssid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>buf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the ssid for the access point. </p>
<p >For access point (AP) mode, this method can be used to set the SSID name of the wifi access point.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">len</td><td>The length of the AP SSID name </td></tr>
    <tr><td class="paramname">buf</td><td>A buffer containing the AP SSID name </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga996bc1311c7e154e653417a91ec07c8a" name="ga996bc1311c7e154e653417a91ec07c8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga996bc1311c7e154e653417a91ec07c8a">&#9670;&nbsp;</a></span>cyw43_wifi_get_bssid()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_get_bssid </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>bssid</em>[6]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the BSSID of the connected wifi network. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">bssid</td><td>a buffer to receive the BSSID </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga6d8ce9294b54153f84561add7fae2c18" name="ga6d8ce9294b54153f84561add7fae2c18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6d8ce9294b54153f84561add7fae2c18">&#9670;&nbsp;</a></span>cyw43_wifi_get_mac()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_get_mac </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>mac</em>[6]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the mac address of the device. </p>
<p >This method returns the mac address of the interface.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface to use, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
    <tr><td class="paramname">mac</td><td>a buffer to receive the mac address </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="gaaccc3aa20b519396ab845d9997565470" name="gaaccc3aa20b519396ab845d9997565470"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaaccc3aa20b519396ab845d9997565470">&#9670;&nbsp;</a></span>cyw43_wifi_get_pm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_get_pm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>pm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the wifi power management mode. </p>
<p >This method gets the power management mode used by cyw43. The value is expressed as an unsigned integer 0x00adbrrm where, m = pm_mode Power management mode rr = pm2_sleep_ret (in units of 10ms) b = li_beacon_period d = li_dtim_period a = li_assoc </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909" title="Return a power management value to pass to cyw43_wifi_pm.">cyw43_pm_value</a> for an explanation of these values This should be called after <a class="el" href="group__cyw43__driver.html#ga01d796a677d1abf56f663799c8f3bc12" title="Set up and initialise wifi.">cyw43_wifi_set_up</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">pm</td><td>Power management value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga8ca1a785bf13016d77d7b89507c8540a" name="ga8ca1a785bf13016d77d7b89507c8540a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ca1a785bf13016d77d7b89507c8540a">&#9670;&nbsp;</a></span>cyw43_wifi_get_rssi()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_get_rssi </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>rssi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the signal strength (RSSI) of the wifi network. </p>
<p >For STA (client) mode, returns the signal strength or RSSI of the wifi network. An RSSI value of zero is returned if you call this function before a network is connected.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">rssi</td><td>a pointer to which the returned RSSI value is stored. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga74a4e0598e897c198f7641a7b28cae66" name="ga74a4e0598e897c198f7641a7b28cae66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga74a4e0598e897c198f7641a7b28cae66">&#9670;&nbsp;</a></span>cyw43_wifi_join()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_join </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>ssid_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>ssid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>key_len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>auth_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint8_t *&#160;</td>
          <td class="paramname"><em>bssid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Connect or <em>join</em> a wifi network. </p>
<p >Connect to a wifi network in STA (client) mode After success is returned, periodically call <a class="el" href="group__cyw43__driver.html#ga71e656d02aabca214ae344f29ae1d033">cyw43_wifi_link_status</a> or <a class="el" href="group__cyw43__driver.html#gacb3d0aa29eb5b8985bb583151831bb04">cyw43_tcpip_link_status</a>, to query the status of the link. It can take a many seconds to connect to fully join a network.</p>
<dl class="section note"><dt>Note</dt><dd>Call <a class="el" href="group__cyw43__driver.html#ga84e0ae0efe92c62d553647ec96804f03">cyw43_wifi_leave</a> to disassociate from a wifi network.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">ssid_len</td><td>the length of the wifi network name </td></tr>
    <tr><td class="paramname">ssid</td><td>A buffer containing the wifi network name </td></tr>
    <tr><td class="paramname">key_len</td><td>The length of the wifi <em>password</em> </td></tr>
    <tr><td class="paramname">key</td><td>A buffer containing the wifi <em>password</em> </td></tr>
    <tr><td class="paramname">auth_type</td><td>Auth type, </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>CYW43_AUTH_ </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bssid</td><td>the mac address of the access point to connect to. This can be NULL. </td></tr>
    <tr><td class="paramname">channel</td><td>Used to set the band of the connection. This is only used if bssid is non NULL. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga84e0ae0efe92c62d553647ec96804f03" name="ga84e0ae0efe92c62d553647ec96804f03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga84e0ae0efe92c62d553647ec96804f03">&#9670;&nbsp;</a></span>cyw43_wifi_leave()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_leave </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disassociate from a wifi network. </p>
<p >This method disassociates from a wifi network.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>The interface to disconnect, either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga71e656d02aabca214ae344f29ae1d033" name="ga71e656d02aabca214ae344f29ae1d033"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga71e656d02aabca214ae344f29ae1d033">&#9670;&nbsp;</a></span>cyw43_wifi_link_status()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_link_status </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the wifi link status. </p>
<p >Returns the status of the wifi link.</p>
<table class="markdownTable">
<tr class="markdownTableHead">
<th class="markdownTableHeadNone">link status   </th><th class="markdownTableHeadNone">Meaning    </th></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_DOWN   </td><td class="markdownTableBodyNone">Wifi down    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_LINK_JOIN   </td><td class="markdownTableBodyNone">Connected to wifi    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_FAIL   </td><td class="markdownTableBodyNone">Connection failed    </td></tr>
<tr class="markdownTableRowEven">
<td class="markdownTableBodyNone">CYW43_LINK_NONET   </td><td class="markdownTableBodyNone">No matching SSID found (could be out of range, or down)    </td></tr>
<tr class="markdownTableRowOdd">
<td class="markdownTableBodyNone">CYW43_LINK_BADAUTH   </td><td class="markdownTableBodyNone">Authenticatation failure   </td></tr>
</table>
<dl class="section note"><dt>Note</dt><dd>If the link status is negative it indicates an error The wifi link status for the interface CYW43_ITF_AP is always CYW43_LINK_DOWN</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface to use, should be CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A integer value representing the link status </dd></dl>

</div>
</div>
<a id="ga808eabf2e62d713990ad2994596cb7d3" name="ga808eabf2e62d713990ad2994596cb7d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga808eabf2e62d713990ad2994596cb7d3">&#9670;&nbsp;</a></span>cyw43_wifi_pm()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_pm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>pm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the wifi power management mode. </p>
<p >This method sets the power management mode used by cyw43. This should be called after cyw43_wifi_set_up</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__cyw43__driver.html#ga14f51524ab21f29112a615aceddd3909" title="Return a power management value to pass to cyw43_wifi_pm.">cyw43_pm_value</a> </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#ga03979857427e08a04731a513a6912c67" title="Default power management mode.">CYW43_DEFAULT_PM</a> </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#gaa6c16b832e78bf180ee5bf2e1e368a80" title="Aggressive power management mode for optimal power usage at the cost of performance.">CYW43_AGGRESSIVE_PM</a> </dd>
<dd>
<a class="el" href="group__cyw43__driver.html#gae851add600bd9b8e6af50bee178b1df2" title="Performance power management mode where more power is used to increase performance.">CYW43_PERFORMANCE_PM</a></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">pm</td><td>Power management value </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga2031aa8f5deeda41c814c53e010a2179" name="ga2031aa8f5deeda41c814c53e010a2179"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2031aa8f5deeda41c814c53e010a2179">&#9670;&nbsp;</a></span>cyw43_wifi_scan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_scan </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__cyw43__ll.html#ga01afd41547b4a3156e3e7d37df8c4631">cyw43_wifi_scan_options_t</a> *&#160;</td>
          <td class="paramname"><em>opts</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>env</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int(*)(void *, const <a class="el" href="group__cyw43__ll.html#gaba84b4a4911fe60952272cf0f9bef5f5">cyw43_ev_scan_result_t</a> *)&#160;</td>
          <td class="paramname"><em>result_cb</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Perform a wifi scan for wifi networks. </p>
<p >Start a scan for wifi networks. Results are returned via the callback.</p>
<dl class="section note"><dt>Note</dt><dd>The scan is complete when <a class="el" href="group__cyw43__driver.html#ga1de9262a18ea6dfa6731a41c452b3937">cyw43_wifi_scan_active</a> return false</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">opts</td><td>An instance of <a class="el" href="group__cyw43__ll.html#ga01afd41547b4a3156e3e7d37df8c4631">cyw43_wifi_scan_options_t</a>. Values in here are currently ignored. </td></tr>
    <tr><td class="paramname">env</td><td>Pointer passed back in the callback </td></tr>
    <tr><td class="paramname">result_cb</td><td>Callback for wifi scan results, see <a class="el" href="group__cyw43__ll.html#gaba84b4a4911fe60952272cf0f9bef5f5">cyw43_ev_scan_result_t</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
<a id="ga1de9262a18ea6dfa6731a41c452b3937" name="ga1de9262a18ea6dfa6731a41c452b3937"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1de9262a18ea6dfa6731a41c452b3937">&#9670;&nbsp;</a></span>cyw43_wifi_scan_active()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool cyw43_wifi_scan_active </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine if a wifi scan is in progress. </p>
<p >This method tells you if the scan is still in progress</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if a wifi scan is in progress </dd></dl>

</div>
</div>
<a id="ga01d796a677d1abf56f663799c8f3bc12" name="ga01d796a677d1abf56f663799c8f3bc12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga01d796a677d1abf56f663799c8f3bc12">&#9670;&nbsp;</a></span>cyw43_wifi_set_up()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cyw43_wifi_set_up </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>itf</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>up</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>country</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up and initialise wifi. </p>
<p >This method turns on wifi and sets the country for regulation purposes. The power management mode is initialised to <a class="el" href="group__cyw43__driver.html#ga03979857427e08a04731a513a6912c67">CYW43_DEFAULT_PM</a> For CYW43_ITF_AP, the access point is enabled. For CYW43_ITF_STA, the TCP/IP stack is reinitialised</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">itf</td><td>the interface to use either CYW43_ITF_STA or CYW43_ITF_AP </td></tr>
    <tr><td class="paramname">up</td><td>true to enable the link. Set to false to disable AP mode. Setting the <em>up</em> parameter to false for CYW43_ITF_STA is ignored. </td></tr>
    <tr><td class="paramname">country</td><td>the country code, see <a class="el" href="group__cyw43__driver.html#CYW43_COUNTRY_">CYW43_COUNTRY_</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab7e616117a114f78bcd5e7a423ac7bf4" name="gab7e616117a114f78bcd5e7a423ac7bf4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab7e616117a114f78bcd5e7a423ac7bf4">&#9670;&nbsp;</a></span>cyw43_wifi_update_multicast_filter()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int cyw43_wifi_update_multicast_filter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct__cyw43__t.html">cyw43_t</a> *&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>addr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>add</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add/remove multicast group address. </p>
<p >This method adds/removes an address from the multicast filter, allowing frames sent to this group to be received</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">self</td><td>the driver state object. This should always be <code>&amp;cyw43_state</code> </td></tr>
    <tr><td class="paramname">addr</td><td>a buffer containing a group mac address </td></tr>
    <tr><td class="paramname">add</td><td>true to add the address, false to remove it </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 on success </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>